package com.imti.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imti.entity.NoticeInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * (NoticeInfo)表数据库访问层
 *
 * @author makejava
 * @since 2023-02-01 13:17:55
 */

@Mapper
public interface NoticeInfoDao extends BaseMapper<NoticeInfo> {

  @Select("SELECT not_title,not_context,create_time,not_img\n" +
          "FROM notice_info\n" +
          "WHERE info_id=#{info_id}")
    public NoticeInfo findNoticeById(Integer infoId);

}

